<?php header("Location 404.htm");Die();/*
<code>
//*/
if ($GLOBALS['IRC']->GetLastLineTime() > (time() - 30)) $this->DestroyAllTriggers();
else {
  $lagnr = 'LAG'.rand(1e8,1e9-1).rand(1e8,1e9-1);
  $GLOBALS['IRC']->ScWrite('PING '.$lagnr);
  $this->Data['microtime'] = microtime (true);
  $this->AddTrigger('odpoved','PONG[^:]+ :'.$lagnr);
  $this->AddTimeOutTrigger('timeout');
  $this->SetTTL(time()+30);
}
</code>

<code odpoved>
echo (microtime (true) - $this->Data['microtime']);
echo " :-) \n";
$this->DestroyAllTriggers();
</code>

<code timeout>
if ($GLOBALS['IRC']->GetLastLineTime() > (time() - 120)) $this->DestroyAllTriggers();
else {
    echo "!!!!! RECONECTING !!!!\n";
    $GLOBALS['IRC']->ScWrite('QUIT :Reconnecting...');
    //while (!$GLOBALS['IRC']->EOF()) ;
    $GLOBALS['IRC']->Close();
    $GLOBALS['Bot']->Start();
    $this->DestroyAllTriggers();
}
</code>

*/?>